// #ifndef VUE3
import Vue from 'vue'
import App from './App'

// 挂载变量
import {
	compLogo,
	useLogo,
	filePath,
	IMG_URL,
	goodsImgUrl,
	BASE_URL
} from './env.js';
Vue.config.productionTip = false

import {
	pay
} from "@/utils/pay.js"
import "@/utils/tabToJumpToIntercept.js"

Vue.prototype.$pay = pay

import md5 from 'js-md5'
Vue.prototype.$md5 = md5
App.mpType = 'app'
import uView from "uview-ui";
Vue.use(uView);

import store from './store/index.js'
Vue.prototype.$store = store

Vue.prototype.$useLogo = useLogo;
Vue.prototype.$filePath = filePath;
Vue.prototype.$compLogo = compLogo; //公司logo
Vue.prototype.$IMG_URL = IMG_URL;
Vue.prototype.$goodsImgUrl = goodsImgUrl;
Vue.prototype.$BASE_URL = BASE_URL;
Vue.prototype.chainTypeId = ''; //模具行业二级ID  10016 10099


const app = new Vue({
	...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
import App from './App.vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif